package com.sjc.springbootdemo.dao;

import com.sjc.springbootdemo.domain.User;

import java.util.List;

/**
 * @Classname UserDAO
 * @Description 用户管理模块的DAO组件接口
 * @Date 2020/4/23 15:00
 * @Created by SangJiacun
 */
public interface UserDAO {
    List<User> listUsers();
    User getUserById(Long userId);
    Long saveUser(User user);
    Integer updateUser(User user);
    Integer removeUser(Long userId);
}
